Postel's law

be conservative in what you send, be liberal in what you accept.

Also known as Robustness principle in computing.